﻿using SportsPlatform.Base;
using SportsPlatform.Dto.SportBusiness.Team;
using SportsPlatform.Query.SportBusiness.Team;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.SportBusiness.ISportBusiness
{
    /// <summary>
    /// 团队表
    /// </summary>
    public interface ITeamService
    {
        /// <summary>
        /// 列表查询
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<PagePagingDto<TeamByUserListDto>> GetTeamList(TeamByUserListQuery Query);
        /// <summary>
        /// 添加团队
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<BaseResultDto> AddTeam(AddTeamQuery Query);

        /// <summary>
        /// 获取团队内人员信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultListDto<GetTeamUserListDto>> GetTeamUserList(GetTeamUserListQuery query);
    }
}
